<?php
include_once "inc/Network.php";
include_once "inc/ParamManager.php";
include_once "inc/db.php";

// load up global settings
$settings = parse_ini_file("settings.ini", true, INI_SCANNER_RAW);

db_init();
$pm = new ParamManager();

// connect to the server
$network = new Network();
$network->connect();

// start checking objects flagged as retired
include "check_retired.php";

// start checking objects flagged as stale 
include "check_stale.php";

?>
